The Core Shift: Sums to Integrals
A random variable $X$ is continuous if there is a nonnegative function $f$, called the probability density function (PDF) of $X$, such that for any set of real numbers $B$:
$P\{X \in B\} = \int_B f(x) dx$
Crucially, this implies that for any specific value $a$, $P(X = a) = \int_a^a f(x) dx = 0$. In the continuous realm, we only speak of probabilities over intervals.
The PDF and CDF Symbiosis
The Cumulative Distribution Function (CDF) $F(x)$ acts as the accumulator of probability from negative infinity up to $x$:
$\frac{d}{dx}F(x) = f(x)$
Measures of Central Tendency
- Expected Value: $E[X] = \int_{-\infty}^{\infty} xf(x) dx$
- Median ($m$): The point that bisects the area, where $F(m) = \frac{1}{2}$.
- Mode: The value of $x$ for which $f(x)$ attains its maximum.
The Limits of Summation
To appreciate the "Integrals" in our journey, contrast the discrete world—where we might find the Legendre theorem ($\sum_{k=1}^{\infty} 1/k^2 = \pi^2/6$) or complex logic for divisors (where for $D=k$, $k$ must divide both $X$ and $Y$ and $X/k, Y/k$ must be relatively prime)—with the continuous world. Here, we calculate variance as $Var(X) = E[(X - E[X])^2]$ and expectations of functions via $E[g(X)] = \int_{-\infty}^{\infty} g(x)f(x) dx$.